/*
 * adc.h
 *
 *  Created on: 2025年3月30日
 *      Author: ceeu
 */

#ifndef ADC_H_
#define ADC_H_

/* Private includes ----------------------------------------------------------*/
#include "Cpu.h"
/* Private typedef -----------------------------------------------------------*/

/* Private define ------------------------------------------------------------*/

/* Private macro -------------------------------------------------------------*/

/* Private variables ---------------------------------------------------------*/
extern uint16_t adcRawValue[10];
/* Private function prototypes -----------------------------------------------*/
float adc0_ch2_read(void);
float adc0_ch3_read(void);
void  ADC0_Init(void);

void triggerLoopTransfer(uint8_t channel, uint8_t *srcBuff, uint16_t *dstBuff, uint32_t size);
/* Private user code ---------------------------------------------------------*/

#endif /* ADC_H_ */
